using System.Collections;

using EMan.Interface.Common;

namespace EMan.Interface.EnterpriseStructure
{
  public interface IStructureTreeEditorPresenter : IPresenter< IStructureTreeEditorView >
  {
    bool IsCreateDepartmentEnabled{ get; }
    bool IsDeleteDepartmentEnabled{ get; }
    bool IsCreateEmployeeEnabled{ get; }
    bool IsDeleteEmployeeEnabled{ get; }
    bool IsEditEnabled{ get; }
    bool IsSaveEnabled{ get; }

    bool IsEnabled{ get; }

    object SelectedItem{ get; set; }

    IEnumerable  Departments{ get; }

    void CreateDepartment();
    void CreateEmployee();
    void EditEntity();
    void Delete();
    void Save();
  }
}